<template>
  <el-table ref="table"  :data="dataList" @selection-change="$emit('selectionChange',$event)" @current-change="$emit('currentChange',$event)">
     <slot name="table"/>
  </el-table>
</template>
<script>
export  default {
   props:{
     loading:{
       type: Boolean,
       default: false
     },
     dataList:{
       type: Array
     },
     rules: {

     }
   },
  methods:{

  }
}
</script>
